Mark surface as dirty before flushing it
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 12 Feb 2023 19:18:00 +0000 (19:18 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 12 Feb 2023 19:19:25 +0000 (19:19 +0000)
commitfba09dbfc723c5434c3e238b2e1bf374c91b9e61
tree00bacb4d6dc84357994ac77ba8ee90c4f8f292c0
parentf931c733166ddacaf0c75a527336bfae26da22cf
Mark surface as dirty before flushing it

If we're trying to read back the contents of a GdkWindow that was
created from a foreign windowing system surface, we are going to
forcibly mark it as dirty before flushing the Cairo state.

To avoid regressing any further in the future of the 3.x branch, let's
leave a comment.

Fixes: #5482
gdk/gdkpixbuf-drawable.c